home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19971216-19980424
/
000279_news@newsmaster….columbia.edu _Thu Mar 5 12:00:26 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-04-22
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA05673
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Mar 1998 12:00:18 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA02687
for kermit.misc@watsun; Thu, 5 Mar 1998 12:00:17 -0500 (EST)
Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!hammer.uoregon.edu!newsxfer3.itd.umich.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!newsfeed.nacamar.de!newsfeed.ecrc.net!newsfeed.ecrc.net!newsfeed2.ecrc.net!news.siemens.de!news.mch.sni.de!michel
From: Michel.Dalle@sni.be (Michel Dalle)
Newsgroups: comp.protocols.kermit.misc
Subject: Catching errors with line or modem ?
Date: Thu, 05 Mar 1998 16:37:55 GMT
Organization: Siemens Nixdorf
Lines: 37
Message-ID: <6dmcvi$ats$1@horus.mch.sni.de>
NNTP-Posting-Host: michel.ch.sni.be
X-Newsreader: News Xpress 2.01
Xref: news.columbia.edu comp.protocols.kermit.misc:8472
Hi again,
My environment :
- Windows NT 4.0
- Kermit 95 v1.1.15 (and v1.1.16beta)
- "Standard 28800 bps modem" defined on COM1 (TAPI) for serial connection,
with just the default configuration options
- there is NO actual modem attached to COM1!!! (or it is switched off)
My basic script :
set tapi line
if fail echo TAPI failed
input 10 {blabla }
if fail echo Input failed with status \v(instatus)
output \13\10
if fail echo Output failed
What happens :
- set tapi line : never fails. --> NOT CORRECT !?
- input 10 {blabla } : fails.
In v1.1.15, \v(instatus) is 1 (= Timed out). --> NOT CORRECT
In v1.1.16beta, \v(instatus) is 3 (= Internal error), and Kermit shows me
'?Connection to Standard 28800 bps Modem is not open'
- output \13\10 : never fails. --> NOT CORRECT !?
(the same thing happens if I try "set line com1" instead of "set tapi line")
How can I, in this script, detect that there is a MODEM problem, rather than
that the other side never sent me 'blabla ' ? The only clue I have is in
v1.1.16beta, with the "internal error" status. But shouldn't the 'tapi' and
the 'output' also fail ???
Any ideas ? (I thought of \v(dialstatus) too, but since I never dial...)
Michel.